<%@taglib prefix="sql" uri="http://java.sun.com/jsp/jstl/sql"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<c:if test="${employe==null}">
    <div class="error message">
        <h3>Message</h3>
        <p>Adh&eacute;rent inexistant</p>
    </div>


</c:if>


<fieldset class="form-container" >
    <legend  class="form-title"><h2>Aper&ccedil;u employ&eacute; : ${employe.nom}&nbsp;${employe.prenom} </h2></legend>
    <div class="datagrid" style="width : 50% !important;margin-left: 25%">
        <table >
            <tbody>
                <tr><td style="width : 30%">Nom Pr&eacute;nom :</td><td>${employe.nom}&nbsp;${employe.prenom}</td></tr>
                <tr class="alt"><td >Nom jeune fille :</td><td>${employe.nomJeuneFille}</td></tr>

                <tr><td>Adresse :</td><td>${employe.adresse}<br/>
                        ${employe.complementAdresse}<br/>
                        ${employe.codePostal}- ${employe.ville}</td></tr>
                <tr class="alt"><td>Num&eacute;ro de t&eacute;l&eacute;phone :</td>
                    <td>${employe.telephone}</td></tr>
                <tr ><td>Mobile :</td>
                    <td>${employe.mobile}</td></tr>

                <tr class="alt"><td>Num&eacute;ro S&eacute;curit&eacute; social:</td><td>${employe.numSecu}</td></tr>

            </tbody>
        </table>
    </div>
    <div class="submit-container">
        <a href="/employe/update.do?id=${employe.id}" class="submit-button">Modifier</a>
        <a href="/employe/index.do" class="submit-button">Annuler</a>
    </div>
</fieldset>

